package com.hsteach.dao.domain.rota;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.common.annotation.Excel;
import com.hsteach.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 值班记录对象 tb_rota_record
 * 
 * @author fanxquer
 * @date 2023-10-22
 */
@Data
public class RotaRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 值班明细表id */
    @Excel(name = "值班明细表id")
    private Long rotaDetailId;

    /** 值班人员id */
    @Excel(name = "值班人员id")
    private String personId;

    /** 值班人员名称 */
    @Excel(name = "值班人员名称")
    private String personName;

    /** 值班记录 */
    @Excel(name = "值班记录")
    private String recordContent;

    /** 是否异常， 1是，0否 */
    @Excel(name = "是否异常， 1是，0否")
    private Integer unusualFlg;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createByName;

    /** 机构号，数据隔离 */
    @Excel(name = "机构号，数据隔离")
    private String orgCode;

    /** 查询参数 **/
    private List<Long>  rotaDetailIds;
}
